<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="WebRoot" value="${pageContext.request.contextPath}" />
<html>
  <head>
    <title>Grid Test</title>
    <script type="text/javascript" src="<c:out value="${WebRoot}"/>/script/lib/jquery-1.2.6.js"></script>
    <script type="text/javascript" src="<c:out value="${WebRoot}"/>/script/component/array.js"></script>
    <script type="text/javascript" src="<c:out value="${WebRoot}"/>/script/component/grid.js"></script>
    <link type="text/css" rel="stylesheet" href="<c:out value="${WebRoot}"/>/style/component/grid.css" />
  </head>
  
  <body>
  	<div id="loadDiv">
  		<table style="width:100%;height:100%;"><tr><td align="center" valign="middle"><img src="<c:out value="${WebRoot}"/>/image/grid/load.gif"></img><span style="font-size:28px;font-weight:bold;">Loading...</span></td></tr></table>
  	</div>
  	<input type="text" value="test" />
    <form action="<c:out value="${WebRoot}"/>/listStudent.do">
    	<div>进入第<input id="pageNo" name="pageNo" type="text" value="1" size="4" />页</div>
    	<table class="gridTable" width="100%" cellpadding="0" cellspacing="0" border="1">
   			<tr class="headRow">
   				<td nowrap width="15%" property="stuId" style="display:block" dataType="number">主键</td>
   				<td nowrap width="15%" property="no">学号</td>
   				<td nowrap property="name">名称</td>
   				<td width="15%" property="password">密码</td>
   				<td nowrap width="15%" property="className">班级</td>
   				<td nowrap width="15%" property="email">邮箱</td>
   			</tr>
   			<!-- Comment the Standard Format 
   			<tr class="dataRow1">
   				<td nowrap>1</td>
   				<td nowrap>001</td>
   				<td nowrap>WeiQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>hustlxjaw@163.com</td>
   			</tr>
   			<tr class="dataRow2">
   				<td nowrap bgcolor="red">2</td>
   				<td nowrap bgcolor="red">002</td>
   				<td nowrap bgcolor="red">SunQiang</td>
   				<td nowrap bgcolor="red">123456</td>
   				<td nowrap bgcolor="red">0203</td>
   				<td nowrap bgcolor="red">sunqiang@163.com</td>
   			</tr>
   			<tr class="dataRow1">
   				<td nowrap>3</td>
   				<td nowrap>001</td>
   				<td nowrap>WeiQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>hustlxjaw@163.com</td>
   			</tr>
   			<tr class="dataRow2">
   				<td nowrap>4</td>
   				<td nowrap>002</td>
   				<td nowrap>SunQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>sunqiang@163.com</td>
   			</tr>
   			<tr class="dataRow1">
   				<td nowrap>5</td>
   				<td nowrap>001</td>
   				<td nowrap>WeiQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>hustlxjaw@163.com</td>
   			</tr>
   			<tr class="dataRow2">
   				<td nowrap>6</td>
   				<td nowrap>002</td>
   				<td nowrap>SunQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>sunqiang@163.com</td>
   			</tr>
   			<tr class="dataRow1">
   				<td nowrap>7</td>
   				<td nowrap>001</td>
   				<td nowrap>WeiQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>hustlxjaw@163.com</td>
   			</tr>
   			<tr class="dataRow2">
   				<td nowrap>8</td>
   				<td nowrap>002</td>
   				<td nowrap>SunQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>sunqiang@163.com</td>
   			</tr>
   			<tr class="dataRow1">
   				<td nowrap>9</td>
   				<td nowrap>001</td>
   				<td nowrap>WeiQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>hustlxjaw@163.com</td>
   			</tr>
   			<tr class="dataRow2">
   				<td nowrap>10</td>
   				<td nowrap>002</td>
   				<td nowrap>SunQiang</td>
   				<td nowrap>123456</td>
   				<td nowrap>0203</td>
   				<td nowrap>sunqiang@163.com</td>
   			</tr>
   			 -->
    	</table>
    </form>
  </body>
  <script type="text/javascript">
  	$(document).ready(function(){
  		// $("form").submit();
  	});	  	
  </script>
</html>